package com.aaa.service;

import com.aaa.entity.Category;

import java.util.List;

public interface ICategoryService {
     //查询所有分类
     List<Category> list();
     //插入数据
     int insert(Category category);
     //按编号查询分类
     Category find(Integer categoryId);
     //修改数据
     int update(Category category);
}
